package org.springframework;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author zhupf
 * @date 2025/7/24 9:39
 * @Description
 */
public class Main {
	public static void main(String[] args) {
		ApplicationContext applicationContext= new ClassPathXmlApplicationContext("beans.xml");
		User bean = applicationContext.getBean(User.class);
		System.out.println(bean);
	}
}